//
//  HsFormUtil.h
//  Hybrid-iPad
//
//  Created by chenhf on 14-5-23.
//  Copyright (c) 2014年 hundsun. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HsFormUtil : NSObject

+(BOOL)isStringEmpty:(NSString*)str;

+(BOOL)isNaN:(NSString*)str;

+(BOOL)isValidStylePostcode:(NSString*)postcode;

+(BOOL)isValidStyleEmail:(NSString*)email;

+(BOOL)isValidStyleMobile:(NSString*)phone;

+(BOOL)isValidStyleTel:(NSString*)email;

+(BOOL)isValidStyleIdcard:(NSString*)idcard;

+(int)moneyMaxLegthForInteger;

+(int)moneyMaxLegthForFloat;

+(NSString*)moneyForZH:(NSString*)money;

+(void)appendPostKey:(NSString*)key Value:(NSString*)value To:(NSMutableDictionary*)postData;

+(void)appendKey:(NSString*)key Value:(NSString*)value To:(NSMutableString*)postData;

@end
